<md-content class="page-content toolbar-page">
	<div class="page-toolbar" layout>
		<div flex layout layout-align="start center">
			<md-button class="md-primary" ui-sref="member.profile">
				<span class="icon icon-chevron-left"></span>
				修改会员支付密码
			</md-button>
		</div>
	</div>
	<md-content class="page-body padding">
		<form name="passForm" ng-submit="changePassword(password,okPassword)">
			<input type="submit" style="display: none"/>
			<md-input-container>
				<label>设置新的会员支付密码(6位数字)</label>
				<input type="password" md-maxlength="6" minlength="6" maxlength="6" name="password" auto-focus-input='' required ng-model="password" pattern="[0-9]*"/>
				<div ng-messages="passForm.password.$error">
		          <div ng-message="pattern" ng-show="passForm.password.$error.pattern">密码字符必须是数字。</div>
        		</div>
			</md-input-container>
			<md-input-container>
				<label>再次输入密码确认</label>
				<input type="password" md-maxlength="6" maxlength="6" minlength="6" name="okPassword" required ng-model="okPassword" pattern="[0-9]*"/>
				<div ng-messages="passForm.okPassword.$error">
		          <div ng-message="pattern" ng-show="passForm.okPassword.$error.pattern">密码字符必须是数字。</div>
        		</div>
			</md-input-container>
		</form>
		<section class="padding"></section>
		<div class="x-light s-text">账户支付密码用于在店铺消费并使用会员支付时，由您输入密码进行支付确认，可以更有效的保证您的会员账户安全。</div>
		<section class="padding"></section>
		<section layout="column">
			<md-button class="md-raised md-primary btn-l" ng-click="changePassword(password,okPassword)" style="width: 95%;">确认</md-button>
		</section>
	</md-content>
</md-content>
